#ifndef _ZERO_ATACK_H_
#define _ZERO_ATACK_H_

#include "Entity.h"
#include "Collideable.h"
#include "Drawable.h"

class RenderManager;
class Player;
class ZeroAttack : public Entity, public Collideable, public Drawable
{
public:
	ZeroAttack(Player*, const sf::FloatRect&, const sf::Vector2f&, int);
	~ZeroAttack(void);

	void update();
	void move();
	void initialize();
	void clean();
	void draw(RenderManager*);
	void kill();
	const sf::FloatRect& getCollisionBox() { return _cb; }
	int getDamage() { return _damage; }

	sf::FloatRect collisionBox(int type = 0);
private:
	int _damage;
	sf::FloatRect _cb;
	Player* _player;
	sf::Vector2f _offset;
	sf::Vector2f _origin;
};

#endif // _ZERO_ATACK_H_